import request from '@/utils/request'

// 获取可用工号列表
export function getAvailableEmployeeIds() {
  return request({
    url: '/system/employeeId/available',
    method: 'get'
  })
}

// 回收已删除用户的工号
export function recycleEmployeeId(employeeId) {
  return request({
    url: '/system/employeeId/recycle/' + employeeId,
    method: 'put'
  })
}

// 批量回收已删除用户的工号
export function batchRecycleEmployeeIds(employeeIds) {
  return request({
    url: '/system/employeeId/recycle/batch',
    method: 'put',
    data: employeeIds
  })
}
